program zdacha_3_1;
var x,y:real;
begin
	write('x=');
	readln(x);
	if x<=-2 then y:=4
	else if x>=1 then y:=1
	else y:=sqr(x);
	writeln('x = ',x:5:2, '    y = ', y:5:2);
end.
